@import (reference) "less-nameset";
.wi-datepicker {
    background: @bg url("images/my97datepicker/datePicker.gif") no-repeat right center;
}
.wi-datepicker::-ms-clear { display: none; }
/* -------- frame 中样式 -------- */
.WdateFmtErr {
    font-weight: bold;
    color: #f00;
}
.WdateDiv {
    width: 180px;
    border: solid 1px @border-c;
    background-color: @bg;
    padding: 2px;
}
.WdateDiv2 { width: 360px; }
.WdateDiv .NavImg a,
.WdateDiv .yminput,
.WdateDiv .yminputfocus,
.WdateDiv #dpQS { background: url("images/my97datepicker/img.gif") no-repeat;}
.WdateDiv .NavImg a {
    float: left;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.WdateDiv .NavImgll a { background-position: 0 5px; }
.WdateDiv .NavImgl a { background-position: 0 -10px; }
.WdateDiv .NavImgr a {
    background-position: 0 -25px;
    float: right;
}
.WdateDiv .NavImgrr a {
    background-position: 0 -40px;
    float: right;
}
.WdateDiv #dpTitle {
    line-height: 0;
    height: 22px;
}
.WdateDiv .yminput,
.WdateDiv .yminputfocus {
    margin-left: 3px;
    width: 50px;
    height: 20px;
    line-height: 16px;
    cursor: pointer;
    background-color: @textinput-bg;
    background-position: 35px -68px;
}
.WdateDiv .yminputfocus { border: solid 1px @border-c; }
.WdateDiv .menuSel {
    z-index: 10;
    position: absolute;
    color: @color;
    background-color: @bg;
    border: solid 1px @border-c;
    display: none;
}
.WdateDiv .menu { background: @bg; }
.WdateDiv .menuOn {
    color: @sel-color;
    background: @sel-bg;
}
.WdateDiv .MMenu,
.WdateDiv .YMenu {
    background: @bg;
    margin-top: 20px;
    margin-left: -1px;
    width: 68px;
    padding: 2px;
}
.WdateDiv .MMenu table,
.WdateDiv .YMenu table { width: 100%; }
.WdateDiv .MMenu table td,
.WdateDiv .YMenu table td {
    line-height: 18px;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
}
.WdateDiv .Wweek {
    text-align: center;
    background: @hover-bg;
    color: @hover-color;
}
.WdateDiv td {
    line-height: 18px;
    font-size: 12px;
    cursor: pointer;
    padding: 1px;
}
.WdateDiv .MTitle td {
    color: @title-color;
    background: @title-bg;
    cursor: default;
}
.WdateDiv .WdayTable2 {
    border-collapse: collapse;
    border: @border-c 1px solid;
}
.WdateDiv .WdayTable2 table { border: 0; }
.WdateDiv .WdayTable { line-height: 18px; }
.WdateDiv .WdayTable td { text-align: center; }
.WdateDiv .Wday { color: @color; }
.WdateDiv .Wwday { color: @wwday-color; }
.WdateDiv .Wtoday {
    color: @highlight-bg-c;
    background: @highlight-bg;
}
.WdateDiv .WspecialDay { color: @highlight-c; }
.WdateDiv .WotherDay { color: @disable-color; }
.WdateDiv #dpTime {
    position: relative;
    margin-top: 5px;
    background: @title-bg;
}
.WdateDiv #dpTime #dpTimeStr {
    display: inline-block;
    width: 30px;
}
.WdateDiv #dpTime input {
    width: 25px;
    height: 20px;
    line-height: 18px;
    text-align: center;
}
.WdateDiv #dpTime .tm {
    width: 7px;
    border: none;
    color: @title-color;
}
.WdateDiv #dpQS {
    float: left;
    margin-right: 3px;
    margin-top: 6px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    background-position: 0 -90px;
}
.WdateDiv #dpControl {
    text-align: right;
    margin-top: 3px;
    margin-bottom: 1px;
}
.WdateDiv .dpButton {
    margin-left: 1px;
    text-align: center;
    vertical-align: middle;
    padding: 2px 6px;
    cursor: pointer;
    color: @btn-font-color;
    border: 1px solid @border-c;
    .btn-bg();
}
.WdateDiv .dpButton:hover {
    .btn-hover-bg;
}
.WdateDiv .hhMenu,
.WdateDiv .mmMenu,
.WdateDiv .ssMenu {
    position: absolute;
    font-size: 12px;
    border: solid 1px @border-c;
    padding: 3px;
}
.WdateDiv #dpTime .menu,
.WdateDiv #dpTime .menuOn {
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
}
.WdateDiv .invalidMenu,
.WdateDiv .WinvalidDay { color: @disable-color; }
.WdateDiv .WdayOn,
.WdateDiv .WwdayOn,
.WdateDiv .Wselday,
.WdateDiv .WotherDayOn {
    background-color: @date-select-bg;
    color: @sel-color;
}
.WdateDiv #dpTime #dpTimeUp,
.WdateDiv #dpTime #dpTimeDown { display: none; }